home *** CD-ROM | disk | FTP | other *** search
-
- #
- # A sample .gdbinit
- #
-
- #
- # turns on an ascii tracing of PostScript output in gdb
- #
- define showps
- print [[NSDPSContext currentContext] setOutputTraced:YES]
- end
-
- #
- # turns off an ascii tracing of PostScript output
- #
- define shownops
- print [[NSDPSContext currentContext] setOutputTraced:NO]
- end
-
- #
- # flushes all PostScript generated by application to the PostScript server
- #
- define flushps
- print [[NSDPSContext currentContext] flush]
- end
-
- #
- # flushes and waits for all PostScript to be executed by the PostScript server
- #
- define waitps
- print [[NSDPSContext currentContext] wait]
- end
-
- #
- # turns on event tracing
- #
- define traceevents
- print [NSDPSServerContext setEventsTraced:YES]
- end
-
- #
- # turns off event tracing
- #
- define tracenoevents
- print [NSDPSServerContext setEventsTraced:NO]
- end
-
-